#define _CRT_SECURE_NO_WARNINGS 1
#include"Blog_sort.h"


void Print(int* a, int n)
{
	for (int i = 0; i < n; i++)
		printf("%d ", a[i]);
}

int main()
{
	int a[] = { 1,2,0,8,62,2,6,366,1,54153,1265,22,15,4,23,6,9,55,4,123,145 };
	int sz = sizeof(a) / sizeof(a[0]);
	//InsertSort(a, sz);
	//ShellSort(a, sz);
	//ShellSort2(a, sz);
	//SelectSort(a, sz);
	//HeapSort(a, sz);
	//BubbleSort(a, sz);
	//QuickSort(a, 0, sz - 1);
	//HoleSort(a, 0, sz - 1);
	//DPoint(a, 0, sz - 1);
	//QuickNon(a, 0, sz - 1);
	//Merge(a, 0, sz - 1);
	//MergeNon(a, 0, sz - 1);
	TQuickSort(a, 0, sz - 1);

	Print(a, sz);
	return 0;
}